#version 420

out vec2 UV;
uniform mat4 P; // space matrix

void main() 
{            
   	// count vertex position acoording to model view matrix
	// set vertex to gl_Position
	gl_Position = P * gl_Vertex;

	UV = gl_MultiTexCoord0.xy;
	//----------------------------------------------------- 
}
